import yaml


def nodes_info(conf_file="config/cluster_config.yaml"):
    dict_result = {}
    with open(conf_file, 'r') as file:
        data = yaml.safe_load(file)
        dict_result['nodes'] = data['nodes']

    return dict_result
